#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

struct S3
{
	double d;//8 8 8
	char c;  //1 8 1
	int i;   //4 8 4
};

struct S4
{
	char c1;
	struct S3 s3;
	double d;
};

int main()
{
	//struct S s = { 0 };
	//struct S2 s2 = { 0 };
	//struct S3 s3 = { 0 };
	struct S4 s4 = { 0 };
	printf("%zd\n", sizeof(s4));//size_t

	return 0;
}